Admin |
| |
|
|
|
| |
GBA : How to edit palettes of GBA games |
|
| |
12/07/2005 This tutorial has been viewed 270 times.
In this new tutorial we will learn how to edit the palettes of a character/hero of any game.
We will use Super Mario Advance (as usual :P).
What will you need:
-Hex Editor
-Visualboy Advance 1.7 (or higher)
-VBA SDL
Let's start...
Open the game with visualboy advance and go to the first level, and open palette viewer:
Tools-> Palette Viewer
You will see something like this:
We have a list of 16 different pallettes for background and sprites.
We will need to know what palette is using our Mario, so let's open OAM viewer(Tools -> OAM viewer).. i hope it's an sprite..
We keep changing sprite with the arrow and.. here it is! our mario:
We can see that it says Pal: 0... it's using the pallette number 0 of sprites.
Also we see the adress of that palette
Open Memory Viewer (Tools -> Memory Viewer) and go to 05000200:
There are the values of Mario char Pallette..
Let's find in what adress is stored those values.
Open the hex editor and search the full palette values (in 8 bytes):
BC 45 FF 7F 00 00 F2 00 9F 2A FF 33 FF 4E BF 5B 00 00 2F 15 A6 5C AD 71 72 7E 1F 3E FD 1C 0F 00
We found 4 matches, these aren't so much..
Well, let's try all those adress, we will make our mario a full black mario.
edit the values:
Save it, now we will test if it's that adress..
*after testing*
Oh damn, it's not this adress :(..
Open the unchanged mario game again and try the 2nd match, if not, the next one, bla bla...
*after trying all those 4 adresses*
Ohh it was the 4th adress. Now our mario is fully black :o!
Level: Easy
Adresses: 003BA850 (mario pallette)
Result:
|
|
|
|
|
|
|
|
Contact |
|
skeroro [at] gmail
[dot]
com
|
|
|
|